package com.zmn.mcc.common.dto.menu;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 描述: 菜单配置出参
 *
 * @author guoqiao
 * @since 2021-05-28 16:23:56
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class McMenuDRO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("菜单id")
    private Integer menuId;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("父级菜单id")
    private Integer parentId;

    @ApiModelProperty("菜单等级")
    private Integer menuLevel;

    @ApiModelProperty("菜单类型：1.目录，2.菜单")
    private Integer menuType;

    @ApiModelProperty("菜单图标")
    private String menuIcon;

    @ApiModelProperty("菜单URL")
    private String menuUrl;

    @ApiModelProperty("菜单权限URL")
    private String menuPermitUrl;

    @ApiModelProperty("是否多开：1.否，2.是")
    private Integer rolled;

    @ApiModelProperty("状态：1.无效，2.有效")
    private Integer status;

    @ApiModelProperty("状态：1.不选择，2.已选择")
    private Integer isSelected;

    @ApiModelProperty("子菜单对象集合")
    private List<McMenuDRO> subMenuList;

}
